﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
using DAO;
namespace BO
{
    public class ManagedByBO
    {
        ManagedByDAO mDAO = new ManagedByDAO();

        public List<ManagedByEntity> LoadHistorySale(string company)
        {
            return mDAO.LoadHistorySale(company);
        }
        public void AddHistorySale(ManagedByEntity info)
        {
            mDAO.AddHistorySale(info);
        }

        public string GetPreviousSale(string company)
        {
            return mDAO.GetPreviousSale(company);
        }
    }
}
